package practite.sort;

import java.util.Random;

public class QuickSort {
    public static void main(String[] args) {
        int[] array = getRandomArray();


    }
    //生成随机数
    public static int getRandom(){
        Random random = new Random();
        int a = random.nextInt(100)+1;
        return a;
    }

    //生成随机数的十位数组
    public static int[] getRandomArray(){
        int[] a = new int[10];
        for (int i = 0; i < a.length; i++) {
            a[i] = getRandom();

        }
        return a;
    }
}
